package com.ev.asl.dao;

import com.ev.asl.domain.CheckResultDO;
import com.ev.asl.vo.CheckResultVO;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

/**
 * @author 姚家乐
 * @since 2021/6/18 12:58
 */
@Mapper
public interface CheckResultDao {
    int save(CheckResultDO entity);
    int batchSave(List<CheckResultDO> entitys);

    CheckResultDO get(Long id);

    /**
     * id
     * @return
     */
    Map<String, Object> getDetailInfo(@Param("id") Long id);

    Integer update(CheckResultDO entity);

    int batchRemove(Long[] ids);

    int remove(Long id);

    int countForMap(Map<String, Object> params);

    List<Map<String, Object>> listForMap(Map<String, Object> param);

    List<CheckResultDO> list(Map<String, Object> param);

    List<CheckResultVO> getDetailInfoList2(Map<String, Object> param);

    List<CheckResultVO> getDetailInfoList(Map<String, Object> param);

    Integer getCountInfoList(Map<String, Object> param);
}
